package com.hsd.znsh.service;

import com.hsd.znsh.entity.FarmType;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface FarmTypeService extends BaseService {

    long getFarmTypeListTotalPages(FarmType farmType);

    List<FarmType> getFarmTypeList(Pageable pageable,FarmType farmType);

    FarmType getFarmTypeInfo(Integer id);

    FarmType addFarmType(FarmType farmType);

    FarmType updateFarmType(FarmType farmType);

    void deleteFarmType(Integer id);

    List<FarmType> getFarmTypeList();

}
